package cn.edu.hrbcu.es.invigilatemanagerment.service;

import cn.edu.hrbcu.es.invigilatemanagerment.pojo.TeacherRole;

import java.util.List;

public interface ITeacherRoleService {
    Integer insertTeacherRole(TeacherRole teacherRole);
    Integer deleteTeacherRoleByPrimaryId(Integer roleId);
    Integer updateTeacherRoleByPrimaryId(TeacherRole teacherRole);
    List<TeacherRole> queryTeacherRolesByIds(List<Integer> ids);
    List<TeacherRole> queryAllTeacherRole();

    TeacherRole queryTeacherRolesById(Integer id);

    int queryTeacherRoleCount();

    List<TeacherRole> queryTeacherRoleByPage(int pageNow, int pageSize);
}
